<template>
  <el-config-provider :locale="locale">
    <router-view></router-view>
  </el-config-provider>

</template>
<script>

import { ElConfigProvider } from "element-plus"
import zhCn from "element-plus/lib/locale/lang/zh-cn"

import Login from "./page/login.vue";
export default {
  name: "App",
  components:{
    Login,
    [ElConfigProvider.name]: ElConfigProvider
  },
  setup() {
    let locale = zhCn
    return {
      locale
    }
  }


}

</script>

<style scoped>

</style>
